home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / source / graphicgems4.lha / GemsIV / vec_mat / ray / Makefile < prev    next >
Encoding:
Makefile  |  1995-02-06  |  413 b   |  16 lines

  1. #
  2. # NeXT Makefile for test (a program to test the algebra3 C++ routines)
  3. # Requires libg++ and a c++ compiler. See README file
  4. #
  5.  
  6. CC = cc++
  7. CFLAGS = -g -I/usr/local/lib/g++-include -L/usr/local/lib
  8. LIBS = -lg++
  9. OBJS = algebra3.o Camera.o Light.o Object3D.o Polyhedron.o Primitive.o \
  10.        Scene3D.o solver.o Sphere.o main.o
  11.  
  12. .c.o:
  13.     $(CC) -c $@ $(CFLAGS) $*.c
  14. ray: $(OBJS)
  15.     $(CC) -o $@ $(CFLAGS) $(OBJS) $(LIBS)
  16.